package ${pro.basePath}.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import ${pro.entityPath}.${bean.entityName};
import ${pro.basePath}.dao.I${bean.entityName}Dao;
import ${pro.basePath}.service.I${bean.entityName}Service;
import com.vonchange.utils.crud.dao.IBaseDao;
import com.vonchange.headb.core.map.HeaMap;
import com.vonchange.utils.crud.service.normal.impl.BaseServiceImpl;
@Service
@Transactional
public class ${bean.entityName}ServiceImpl extends BaseServiceImpl<${bean.entityName}> implements I${bean.entityName}Service{
	@Resource
    private I${bean.entityName}Dao ${bean.entityName?uncap_first}Dao;
	@Override
	public IBaseDao<${bean.entityName}> getDao() {
		// TODO Auto-generated method stub
		return ${bean.entityName?uncap_first}Dao;
	}
	
	public void initSave(${bean.entityName} entity) {
	}
	public void initUpdate(${bean.entityName} entity) {
	}
	public void initFind(HeaMap parameter) {
	}
}